<div class="infoBlock">
<div class="infoBlockHeading"><span class="t">Comments</span></div>
<div class="infoBlockContent">

<div class="infoBlockItem">
<form name="itemform" method="post">
<input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="{$CONTENT.item.id}">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="100" align="right" valign="top"><label class="fb">Name</label>: </td>
    <td><a href="?op=detail&id={$CONTENT.item.id}" class="underline">{$CONTENT.item.name}</a></td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Subject</label>: </td>
    <td><a href="{$CONTEXT.URL}a/{$CONTENT.item.link}" class="underline" target="_blank">{$CONTENT.item.subject}</a></td>
    <td></td>
  </tr>
  <tr class="hidden">
    <td align="right" valign="top"></td>
    <td><input type="submit" name="submitbtn" value="Submit"></td>
    <td></td>
  </tr>
</table>
</form>
</div>

<div class="infoBlockItem">
<form name="listform" method="post">
<input type="hidden" name="id" value="{$CONTENT.item.id}">
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="listBox">
  <tr class="listBoxHeading">
    <td>{pp_inputcheckboxall name="sla" values=""}</td>
    <td>Author</td>
    <td>Email</td>
    <td>Rate</td>
    <td>Time</td>
    <td>Status</td>
  </tr>
{section name=item loop=$CONTENT.comments}
  <tr>
    <td>{pp_inputcheckbox value=$CONTENT.comments[item].id}</td>
    <td>{$CONTENT.comments[item].author}</td>
    <td>{$CONTENT.comments[item].email}</td>
    <td>{$CONTENT.comments[item].rate}</td>
    <td>{$CONTENT.comments[item].date_added}</td>
    <td>{$CONTENT.comments[item].status}</td>
  </tr>
  <tr>
    <td class="2"></td>
    <td colspan="7"><b>{$CONTENT.comments[item].subject}</b><br />{$CONTENT.comments[item].content}</td>
  </tr>
{sectionelse}
  <tr>
    <td colspan="8"></td>
  </tr>
{/section}
  <tr>
    <td colspan="8"><div id="sfd" class="part">{pp_inputoptions name="field" options="[-----Actions-----=|Delete=delete|Status open=statusopen|Status close=statusclose]" onchange="PJS.list.doActionField('setfield-comments', this);"}</div></td>
  </tr>
</table>

{if $CONTENT.navigation.show == 1}
<div class="navigation">
<span class="count">{$CONTENT.navigation.count}</span>
<span class="links"><ul>{$CONTENT.navigation.links}</ul></span>
</div>
{/if}
</form>
</div>

</div>
</div>